package dataBeans;

public class User {

	int userId = 0;
	String email = "";
	String firstName = "";
	String lastName = "";
	String password = "";
	
	public User(){
		userId = 0;
		email = "";
		firstName = "";
		lastName = "";
		password = "";
	}
	
	/**
	 * @param userId the userId to set
	 */
	public void setUserId(int userId) {
		this.userId = userId;
	}
	
	public User(String email, String password){
		this.email = email;
		this.password = password;
	}
	
	public User(int userId){
		this.userId = userId;
	}
	
	public User(String email, String password, String firstName, String lastName){
		this.email = email;
		this.lastName = lastName;
		this.firstName = firstName;
		this.password = password;
	}
	
	/**
	 * @return the email
	 */
	public String getEmail() {
		return email;
	}
	/**
	 * @return the firstName
	 */
	public String getFirstName() {
		return firstName;
	}
	/**
	 * @return the lastName
	 */
	public String getLastName() {
		return lastName;
	}
	/**
	 * @return the password
	 */
	public String getPassword() {
		return password;
	}
	
	/**
	 * @param email the email to set
	 */
	public void setEmail(String email) {
		this.email = email;
	}
	/**
	 * @param firstName the firstName to set
	 */
	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}
	/**
	 * @param lastName the lastName to set
	 */
	public void setLastName(String lastName) {
		this.lastName = lastName;
	}
	/**
	 * @param password the password to set
	 */
	public void setPassword(String password) {
		this.password = password;
	}

	/**
	 * @return the userId
	 */
	public int getUserId() {
		return userId;
	}
}
